﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using EasySL.Controls;

namespace EasySL.UI.Controls
{
    public partial class Samples : UserControl
    {
        public Samples()
        {
            InitializeComponent();
        }

        private void bt1_Click(object sender, RoutedEventArgs e)
        {
            EasySL.Controls.Window.Alert("Alert Message");
        }

        private void bt2_Click(object sender, RoutedEventArgs e)
        {
            EasySL.Controls.Window.Confirm("Confirm Message", null);
        }

        private void bt3_Click(object sender, RoutedEventArgs e)
        {
            ProductEdit control = new ProductEdit();
            EasySL.Controls.Window.ShowOpPanel("Operator Panel", control, null);
        }
    }
}
